package bb.lanxing.activity.sport;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import bb.lanxing.R;
import bb.lanxing.activity.base.BaseActivity;

public class HelpActivity extends BaseActivity {
    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        Intent intent = getIntent();
        int intExtra = intent.getIntExtra("layout", -1);
        if (intExtra != -1) {
            setContentView(intExtra);
        }
        autoFitStatusBarIconColor();
        String stringExtra = intent.getStringExtra("title");
        TextView textView = findViewById(R.id.Title);
        if (stringExtra != null && textView != null) {
            textView.setText(stringExtra);
        }
    }
}